/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package slcu.model;

import java.io.Serializable;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * This class is used by SOAP remote services.
 *
 * @author    tito
 * @generated
 */
public class PartidoSoap implements Serializable {
	public static PartidoSoap toSoapModel(Partido model) {
		PartidoSoap soapModel = new PartidoSoap();

		soapModel.setPartidoId(model.getPartidoId());
		soapModel.setFecha(model.getFecha());
		soapModel.setLugar(model.getLugar());
		soapModel.setCategoriaId(model.getCategoriaId());
		soapModel.setEquipo1(model.getEquipo1());
		soapModel.setEquipo2(model.getEquipo2());
		soapModel.setMarcador1(model.getMarcador1());
		soapModel.setMarcador2(model.getMarcador2());
		soapModel.setObservaciones(model.getObservaciones());
		soapModel.setCreateDate(model.getCreateDate());
		soapModel.setCreateUser(model.getCreateUser());
		soapModel.setModifiedDate(model.getModifiedDate());
		soapModel.setModifiedUser(model.getModifiedUser());
		soapModel.setDeleteDate(model.getDeleteDate());
		soapModel.setDeleteUser(model.getDeleteUser());

		return soapModel;
	}

	public static PartidoSoap[] toSoapModels(Partido[] models) {
		PartidoSoap[] soapModels = new PartidoSoap[models.length];

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModel(models[i]);
		}

		return soapModels;
	}

	public static PartidoSoap[][] toSoapModels(Partido[][] models) {
		PartidoSoap[][] soapModels = null;

		if (models.length > 0) {
			soapModels = new PartidoSoap[models.length][models[0].length];
		}
		else {
			soapModels = new PartidoSoap[0][0];
		}

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModels(models[i]);
		}

		return soapModels;
	}

	public static PartidoSoap[] toSoapModels(List<Partido> models) {
		List<PartidoSoap> soapModels = new ArrayList<PartidoSoap>(models.size());

		for (Partido model : models) {
			soapModels.add(toSoapModel(model));
		}

		return soapModels.toArray(new PartidoSoap[soapModels.size()]);
	}

	public PartidoSoap() {
	}

	public long getPrimaryKey() {
		return _partidoId;
	}

	public void setPrimaryKey(long pk) {
		setPartidoId(pk);
	}

	public long getPartidoId() {
		return _partidoId;
	}

	public void setPartidoId(long partidoId) {
		_partidoId = partidoId;
	}

	public Date getFecha() {
		return _fecha;
	}

	public void setFecha(Date fecha) {
		_fecha = fecha;
	}

	public String getLugar() {
		return _lugar;
	}

	public void setLugar(String lugar) {
		_lugar = lugar;
	}

	public long getCategoriaId() {
		return _categoriaId;
	}

	public void setCategoriaId(long categoriaId) {
		_categoriaId = categoriaId;
	}

	public long getEquipo1() {
		return _equipo1;
	}

	public void setEquipo1(long equipo1) {
		_equipo1 = equipo1;
	}

	public long getEquipo2() {
		return _equipo2;
	}

	public void setEquipo2(long equipo2) {
		_equipo2 = equipo2;
	}

	public long getMarcador1() {
		return _marcador1;
	}

	public void setMarcador1(long marcador1) {
		_marcador1 = marcador1;
	}

	public long getMarcador2() {
		return _marcador2;
	}

	public void setMarcador2(long marcador2) {
		_marcador2 = marcador2;
	}

	public String getObservaciones() {
		return _observaciones;
	}

	public void setObservaciones(String observaciones) {
		_observaciones = observaciones;
	}

	public Date getCreateDate() {
		return _createDate;
	}

	public void setCreateDate(Date createDate) {
		_createDate = createDate;
	}

	public long getCreateUser() {
		return _createUser;
	}

	public void setCreateUser(long createUser) {
		_createUser = createUser;
	}

	public Date getModifiedDate() {
		return _modifiedDate;
	}

	public void setModifiedDate(Date modifiedDate) {
		_modifiedDate = modifiedDate;
	}

	public long getModifiedUser() {
		return _modifiedUser;
	}

	public void setModifiedUser(long modifiedUser) {
		_modifiedUser = modifiedUser;
	}

	public Date getDeleteDate() {
		return _deleteDate;
	}

	public void setDeleteDate(Date deleteDate) {
		_deleteDate = deleteDate;
	}

	public long getDeleteUser() {
		return _deleteUser;
	}

	public void setDeleteUser(long deleteUser) {
		_deleteUser = deleteUser;
	}

	private long _partidoId;
	private Date _fecha;
	private String _lugar;
	private long _categoriaId;
	private long _equipo1;
	private long _equipo2;
	private long _marcador1;
	private long _marcador2;
	private String _observaciones;
	private Date _createDate;
	private long _createUser;
	private Date _modifiedDate;
	private long _modifiedUser;
	private Date _deleteDate;
	private long _deleteUser;
}